<?php

// Includes obligatorios
include ('./dbconfig.php');
include ('../Libraries/Tools/JLTools.class.php');

// Objeto JLTools
$jl = new JLTools();

$SQL = "SELECT 
      `int_id_suscriptor`,
      `var_code`,
      `var_fullname`,
      `var_email`
    FROM 
      `tbl_suscriptores`";
$campoId = "int_id_suscriptor";

$jl->dataGridJSON($cnn, $SQL, $campoId);

// Cerrar la coneccion obligatorio
mysql_close($cnn);